﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DWF.Studio.Project
{
    /// <summary>
    /// 工程文件夹节点
    /// </summary>
    internal class ProjectFolder : ProjectNode
    { 
        /// <summary>
        /// 图片资源
        /// </summary>
        private static readonly Uri _folderIcon = new Uri("..\\Resources\\Treeview\\folder.png", UriKind.Relative);

        public ProjectFolder(bool isSelf = false)
        {
            this.NodeType = EProjectNodeType.Folder;
            this.Children = new ObservableCollection<ProjectNode>();
            this.IconLoc = _folderIcon;
            this.IsSelf = isSelf;
        }

        public override ObservableCollection<ProjectNode> Children
        {
            get;
            set;
        }
    }
}
